#ifndef GREEKALPHABETDIALOG_H
#define GREEKALPHABETDIALOG_H

#include <QDialog>

namespace Ui {
    class GreekAlphabetDialog;
}

class GreekAlphabetDialog : public QDialog {
    Q_OBJECT
public:
    GreekAlphabetDialog(QWidget *parent = 0);
    ~GreekAlphabetDialog();

signals:
    void addSymbol(const QString &);

protected:
    void changeEvent(QEvent *e);

private slots:
    void cellClicked(int row, int column);

private:
    Ui::GreekAlphabetDialog *ui;
    enum {ColCount = 6, RowCount = 6, NumSymbol = 36, CellSize = 36};
    static const QString alphabet[NumSymbol];
    int getNumberOfSymbol(int row, int column) const;
};

#endif // GREEKALPHABETDIALOG_H
